package oop.constructor;

/**
 * Created with IntelliJ IDEA.
 * ClassName: Customer
 * Package: oop.constructor
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-20
 * Time: 15:55
 */

public class Customer {

    //客户的类  姓名
    private String firstName;
    private String lastName;
    //客户的账户
    private Account account;

    public Customer(String f,String l){
        firstName = f;
        lastName = l;
        //创建对象的时候 没有对 account 没有赋值
    }


    public String getFirstName() {
        return firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public Account getAccount() {
        return account;
    }

    public void setAccount(Account account) {
        this.account = account;
    }
}
